/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package simplemetrosystem.model.Element;

import java.awt.Graphics2D;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import simplemetrosystem.model.Element.Interface.HighLightable;
import simplemetrosystem.model.Element.Interface.MetroElement;

/**
 *
 * @author Eric Qian
 */
public class CalStation implements MetroElement, HighLightable {

    public CalStation(MetroStation stA, MetroStation stB) {
        this.stA = stA;
        this.stB = stB;
        highlight = false;
    }
    private boolean highlight;
    private MetroStation stA;
    private MetroStation stB;

    public String getName() {
        return "";
    }

    public String getChineseName() {
        return "";
    }

    public String getDisplayName() {
        return "";
    }

    public Element getElement(Document doc) {
        return null;
    }

    public boolean isHighLight() {
        return highlight;
    }

    public void setHighLight(boolean lightFlag) {
        this.highlight = lightFlag;
        if (stA != null) {
            stA.setHighLight(lightFlag);
        }
        if (stB != null) {
            stB.setHighLight(lightFlag);
        }
    }

    public void drawHighLight(Graphics2D gg, int matrixSize) {
    }
}
